#include <STC15F2K60S2.H>
#include "bsp_init.h"
#include "bsp_led.h"
#include "bsp_timer.h"

unsigned long ulms;
unsigned char Led_Date;

void main(void){

	Close_Peripheral();
	Timer1Init();
	
	while(1){
	
	}
}


void tm1_isr() interrupt 3{

	ulms++;
	if(ulms % 1000 == 0){
		
		Led_Date++;
		Led_Disp(Led_Date);
	}
}